<script setup lang="ts">
import HeaderView from '@/components/HeaderView.vue'
import AsideView from '@/components/AsideView.vue'
</script>

<template>
  <div class="basic-layout">
    <el-container>
      <el-aside width="auto"><AsideView /></el-aside>
      <el-container>
        <el-header><HeaderView /></el-header>
        <el-main><router-view /></el-main>
      </el-container>
    </el-container>
  </div>
</template>

<style lang="css" scoped>
.basic-layout,
.el-container {
  height: 100vh;
}

.el-header {
  border-bottom: 1px solid #ebeef5;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  background-color: #fff;
}

.el-main {
  background-color: #f5f7fa;
}

.el-aside {
  box-shadow: 2px 0 6px rgba(0, 21, 41, 0.1);
}
</style>
